package cn.lsq.basic.service;

import cn.lsq.basic.query.BaseQuery;
import cn.lsq.basic.utils.PageList;


import java.util.List;

public interface BaseService<T> {
    List<T> loadAll();
    T loadById(Long id);
    void save(T t);
    void remove(Long id);
    void update(T t);
    PageList<T> queryPage(BaseQuery baseQuery);
    void patchDelete(Long[] ids);
}
